<?php require_once 'source.php';?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo ERRORPAGE?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body class="w">
	<?php 
		$errcode=$_GET['errcode'];
		switch ($errcode){
			case 1:
				$msg=UNKNOWNSYSERROR;
				break;
			case 2:
				$msg=NOPOWER;
				break;
		}
	?>
	<div style="text-align:center;margin-top:30px;">
		<h1><?php echo $msg?></h1>
		<a href="index.php"><?php echo TOINDEX?></a>
	</div>
</body>
</html>
